/**
 * 
 */
package com.barry.download;

import android.os.Handler;

/**
 * @author Tom·barry
 */
public class MyBaseHandler extends Handler
{
    private String id;


    public String getId()
    {
        return id;
    }


    public void setId(String id)
    {
        this.id = id;
    }


    @Override
    public boolean equals(Object obj)
    {
        if (obj instanceof MyBaseHandler)
        {
            if (((MyBaseHandler) obj).id != null
                && ((MyBaseHandler) obj).id.equals(this.id))
            {
                return true;
            }
        }
        return false;
    }
}
